package practice04;

/**
 * @author Administrator
 * @version V1.0
 * @ProjectName:IntelliJ IDEA
 * @PackageName: practice04
 * @ClassName: PM
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2019/12/8 14:40
 * @Copyright 大牛版板所有
 */
public class PM extends Employee {
    private String managerExper;

    public PM() {
    }

    public PM(String name, String address, String telephone, String email, String office,
              double salary, String hiredate, String managerExper) {
        super(name, address, telephone, email, office, salary, hiredate);
        this.managerExper = managerExper;
    }

    public String getManagerExper() {
        return managerExper;
    }

    public void setManagerExper(String managerExper) {
        this.managerExper = managerExper;
    }


    public void intro(){
        System.out.println("我叫"+this.getName()+"，住在"+this.getAddress()+ "，电话号码是"+this.getTelephone()+
                "，电子邮件是"+this.getEmail()+"，办公室在"+this.getOffice() +"，受雇日期为"+this.getHiredate()+
                "，职级为"+this.getManagerExper()+"，工资是"+this.getSalary()+"元");
    }
}
